<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    
</body>
<script>
    // function Phone(){

    // }
    // Phone.name="手机"
    // Phone.change=function(){
    //     console.log("我可以改变世界")
    // }
    // Phone.prototype.size="5.56cm"
    // let nokia=new Phone();

    // console.log(nokia)

    class Phone{
        static name="手机"
        static change(){
            console.log("我可以改变世界")
        }
    }
    let nokia=new Phone()
    console.log(nokia.name)
    console.log(Phone.name)
</script>
</html>